package cn.edu.sgu.www.mhxysy.entity.achievement;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * 称谓类型
 * @author 沐雨橙风ιε
 * @version 1.0
 */
@Data
@ApiModel
@TableName("chengwei")
public class Chengwei implements Serializable {
	private static final long serialVersionUID = 18L;

	@TableId(value = "id", type = IdType.AUTO)
	@ApiModelProperty(value = "称谓ID")
	private Integer id;

	/**
	 * 称谓名称
	 */
	@ApiModelProperty(value = "称谓名称")
	private String name;

	/**
	 * 称谓获得方式
	 */
	@ApiModelProperty(value = "称谓获得方式")
	private String get;

	/**
	 * 称谓信息
	 */
	@ApiModelProperty(value = "称谓信息")
	private String note;

	/**
	 * 称谓类型
	 * 0-普通称谓；1-成就称谓
	 */
	@ApiModelProperty(value = "称谓类型")
	private Integer type;

	/**
	 * 是否永久
	 * 0-限时称谓；1-永久称谓
	 */
	@ApiModelProperty(value = "是否永久")
	private Integer permanent;
}